#include <iostream>
#include <cstdlib>
#include <ctime>

using namespace std;

int main() {

  int i;
  int f;

  //srand( (unsigned int)time(NULL) );
  srand(2);
  for (i=0; i<20; i++) {
    f = rand()%6; 
    cout << f <<" ";
  }
  cout << endl;
  srand(3);
  for (i=0; i<20; i++) {
    f = rand()%6;
    cout << f <<" ";
  }
  cout << endl;
  return 0;
}
